import React, { Component } from "react"
import {View,Text,StyleSheet,ImageBackground,Image,TouchableOpacity} from "react-native"
export default class App1 extends Component{
    render(){
        const App1 =()=>{alert(123456)}
        const App2 =()=>{alert(654321)}
        return(
            <View style={styles.container}>
                {/* <TouchableOpacity onPress={App1}><Text style={{fontSize:50 }}>按钮一</Text></TouchableOpacity>
                <TouchableOpacity onPress={App2}><Text style={{fontSize:50 }}>按钮二</Text></TouchableOpacity> */}
                <Text>及</Text>
            </View>
        )
    }
}
const styles = StyleSheet.create({
    container:{
        backgroundColor:"skyblue",
        alignItems:"center",
        marginTop:350
    }
})